<?php

include_once ('com/alibaba/openapi/client/entity/SDKDomain.class.php');
include_once ('com/alibaba/openapi/client/entity/ByteArray.class.php');
include_once ('AlibabaPifatuanProductDetailListParam/AlibabaPifatuanProductDetailListOpenplatformDeliverySubTemplateDetailDTO.class.php');
include_once ('AlibabaPifatuanProductDetailListParam/AlibabaPifatuanProductDetailListOpenplatformDeliverySubTemplateDetailDTO.class.php');
include_once ('AlibabaPifatuanProductDetailListParam/AlibabaPifatuanProductDetailListOpenplatformDeliverySubTemplateDetailDTO.class.php');

class AlibabaPifatuanProductDetailListOpenplatformFreightTemplate extends SDKDomain {

       	
    private $addressCodeText;
    
        /**
    * @return 
    */
        public function getAddressCodeText() {
        return $this->addressCodeText;
    }
    
    /**
     * 设置     
     * @param String $addressCodeText     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setAddressCodeText( $addressCodeText) {
        $this->addressCodeText = $addressCodeText;
    }
    
        	
    private $codSubTemplate;
    
        /**
    * @return 
    */
        public function getCodSubTemplate() {
        return $this->codSubTemplate;
    }
    
    /**
     * 设置     
     * @param AlibabaPifatuanProductDetailListOpenplatformDeliverySubTemplateDetailDTO $codSubTemplate     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setCodSubTemplate(AlibabaPifatuanProductDetailListOpenplatformDeliverySubTemplateDetailDTO $codSubTemplate) {
        $this->codSubTemplate = $codSubTemplate;
    }
    
        	
    private $expressSubTemplate;
    
        /**
    * @return 
    */
        public function getExpressSubTemplate() {
        return $this->expressSubTemplate;
    }
    
    /**
     * 设置     
     * @param AlibabaPifatuanProductDetailListOpenplatformDeliverySubTemplateDetailDTO $expressSubTemplate     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setExpressSubTemplate(AlibabaPifatuanProductDetailListOpenplatformDeliverySubTemplateDetailDTO $expressSubTemplate) {
        $this->expressSubTemplate = $expressSubTemplate;
    }
    
        	
    private $fromAreaCode;
    
        /**
    * @return 
    */
        public function getFromAreaCode() {
        return $this->fromAreaCode;
    }
    
    /**
     * 设置     
     * @param String $fromAreaCode     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setFromAreaCode( $fromAreaCode) {
        $this->fromAreaCode = $fromAreaCode;
    }
    
        	
    private $id;
    
        /**
    * @return 
    */
        public function getId() {
        return $this->id;
    }
    
    /**
     * 设置     
     * @param Long $id     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setId( $id) {
        $this->id = $id;
    }
    
        	
    private $logisticsSubTemplate;
    
        /**
    * @return 
    */
        public function getLogisticsSubTemplate() {
        return $this->logisticsSubTemplate;
    }
    
    /**
     * 设置     
     * @param AlibabaPifatuanProductDetailListOpenplatformDeliverySubTemplateDetailDTO $logisticsSubTemplate     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setLogisticsSubTemplate(AlibabaPifatuanProductDetailListOpenplatformDeliverySubTemplateDetailDTO $logisticsSubTemplate) {
        $this->logisticsSubTemplate = $logisticsSubTemplate;
    }
    
        	
    private $memberId;
    
        /**
    * @return 
    */
        public function getMemberId() {
        return $this->memberId;
    }
    
    /**
     * 设置     
     * @param String $memberId     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setMemberId( $memberId) {
        $this->memberId = $memberId;
    }
    
        	
    private $name;
    
        /**
    * @return 
    */
        public function getName() {
        return $this->name;
    }
    
    /**
     * 设置     
     * @param String $name     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setName( $name) {
        $this->name = $name;
    }
    
        	
    private $remark;
    
        /**
    * @return 
    */
        public function getRemark() {
        return $this->remark;
    }
    
    /**
     * 设置     
     * @param String $remark     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setRemark( $remark) {
        $this->remark = $remark;
    }
    
        	
    private $status;
    
        /**
    * @return 
    */
        public function getStatus() {
        return $this->status;
    }
    
    /**
     * 设置     
     * @param Integer $status     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setStatus( $status) {
        $this->status = $status;
    }
    
        	
    private $type;
    
        /**
    * @return 
    */
        public function getType() {
        return $this->type;
    }
    
    /**
     * 设置     
     * @param String $type     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setType( $type) {
        $this->type = $type;
    }
    
    	
	private $stdResult;
	
	public function setStdResult($stdResult) {
		$this->stdResult = $stdResult;
					    			    			if (array_key_exists ( "addressCodeText", $this->stdResult )) {
    				$this->addressCodeText = $this->stdResult->{"addressCodeText"};
    			}
    			    		    				    			    			if (array_key_exists ( "codSubTemplate", $this->stdResult )) {
    				$codSubTemplateResult=$this->stdResult->{"codSubTemplate"};
    				$this->codSubTemplate = new AlibabaPifatuanProductDetailListOpenplatformDeliverySubTemplateDetailDTO();
    				$this->codSubTemplate->setStdResult ( $codSubTemplateResult);
    			}
    			    		    				    			    			if (array_key_exists ( "expressSubTemplate", $this->stdResult )) {
    				$expressSubTemplateResult=$this->stdResult->{"expressSubTemplate"};
    				$this->expressSubTemplate = new AlibabaPifatuanProductDetailListOpenplatformDeliverySubTemplateDetailDTO();
    				$this->expressSubTemplate->setStdResult ( $expressSubTemplateResult);
    			}
    			    		    				    			    			if (array_key_exists ( "fromAreaCode", $this->stdResult )) {
    				$this->fromAreaCode = $this->stdResult->{"fromAreaCode"};
    			}
    			    		    				    			    			if (array_key_exists ( "id", $this->stdResult )) {
    				$this->id = $this->stdResult->{"id"};
    			}
    			    		    				    			    			if (array_key_exists ( "logisticsSubTemplate", $this->stdResult )) {
    				$logisticsSubTemplateResult=$this->stdResult->{"logisticsSubTemplate"};
    				$this->logisticsSubTemplate = new AlibabaPifatuanProductDetailListOpenplatformDeliverySubTemplateDetailDTO();
    				$this->logisticsSubTemplate->setStdResult ( $logisticsSubTemplateResult);
    			}
    			    		    				    			    			if (array_key_exists ( "memberId", $this->stdResult )) {
    				$this->memberId = $this->stdResult->{"memberId"};
    			}
    			    		    				    			    			if (array_key_exists ( "name", $this->stdResult )) {
    				$this->name = $this->stdResult->{"name"};
    			}
    			    		    				    			    			if (array_key_exists ( "remark", $this->stdResult )) {
    				$this->remark = $this->stdResult->{"remark"};
    			}
    			    		    				    			    			if (array_key_exists ( "status", $this->stdResult )) {
    				$this->status = $this->stdResult->{"status"};
    			}
    			    		    				    			    			if (array_key_exists ( "type", $this->stdResult )) {
    				$this->type = $this->stdResult->{"type"};
    			}
    			    		    		}
	
	private $arrayResult;
	public function setArrayResult($arrayResult) {
		$this->arrayResult = $arrayResult;
				    		    			if (array_key_exists ( "addressCodeText", $this->arrayResult )) {
    			$this->addressCodeText = $arrayResult['addressCodeText'];
    			}
    		    	    			    		    		if (array_key_exists ( "codSubTemplate", $this->arrayResult )) {
    		$codSubTemplateResult=$arrayResult['codSubTemplate'];
    			    			$this->codSubTemplate = new AlibabaPifatuanProductDetailListOpenplatformDeliverySubTemplateDetailDTO();
    			    			$this->codSubTemplate->setStdResult ( $codSubTemplateResult);
    		}
    		    	    			    		    		if (array_key_exists ( "expressSubTemplate", $this->arrayResult )) {
    		$expressSubTemplateResult=$arrayResult['expressSubTemplate'];
    			    			$this->expressSubTemplate = new AlibabaPifatuanProductDetailListOpenplatformDeliverySubTemplateDetailDTO();
    			    			$this->expressSubTemplate->setStdResult ( $expressSubTemplateResult);
    		}
    		    	    			    		    			if (array_key_exists ( "fromAreaCode", $this->arrayResult )) {
    			$this->fromAreaCode = $arrayResult['fromAreaCode'];
    			}
    		    	    			    		    			if (array_key_exists ( "id", $this->arrayResult )) {
    			$this->id = $arrayResult['id'];
    			}
    		    	    			    		    		if (array_key_exists ( "logisticsSubTemplate", $this->arrayResult )) {
    		$logisticsSubTemplateResult=$arrayResult['logisticsSubTemplate'];
    			    			$this->logisticsSubTemplate = new AlibabaPifatuanProductDetailListOpenplatformDeliverySubTemplateDetailDTO();
    			    			$this->logisticsSubTemplate->setStdResult ( $logisticsSubTemplateResult);
    		}
    		    	    			    		    			if (array_key_exists ( "memberId", $this->arrayResult )) {
    			$this->memberId = $arrayResult['memberId'];
    			}
    		    	    			    		    			if (array_key_exists ( "name", $this->arrayResult )) {
    			$this->name = $arrayResult['name'];
    			}
    		    	    			    		    			if (array_key_exists ( "remark", $this->arrayResult )) {
    			$this->remark = $arrayResult['remark'];
    			}
    		    	    			    		    			if (array_key_exists ( "status", $this->arrayResult )) {
    			$this->status = $arrayResult['status'];
    			}
    		    	    			    		    			if (array_key_exists ( "type", $this->arrayResult )) {
    			$this->type = $arrayResult['type'];
    			}
    		    	    		}
 
   
}
?>